/**
 * output package name
 */
package com.kingdee.eas.minghua.jczlwh.mj;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.IntEnum;

/**
 * output class name
 */
public class SfEnum extends IntEnum
{
    public static final int YES_VALUE = 0;
    public static final int NO_VALUE = 1;

    public static final SfEnum yes = new SfEnum("yes", YES_VALUE);
    public static final SfEnum no = new SfEnum("no", NO_VALUE);

    /**
     * construct function
     * @param integer sfEnum
     */
    private SfEnum(String name, int sfEnum)
    {
        super(name, sfEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static SfEnum getEnum(String sfEnum)
    {
        return (SfEnum)getEnum(SfEnum.class, sfEnum);
    }

    /**
     * getEnum function
     * @param String arguments
     */
    public static SfEnum getEnum(int sfEnum)
    {
        return (SfEnum)getEnum(SfEnum.class, sfEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(SfEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(SfEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(SfEnum.class);
    }
}